package com.linkhub.oms.dao.mpservice;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.yulichang.base.MPJBaseService;
import com.github.yulichang.wrapper.MPJLambdaWrapper;
import com.linkhub.oms.entity.ShopProductSkuEntity;
import com.linkhub.oms.entity.resulttype.ShopProductListResultEntity;

import java.util.List;

/**
 * <p>
 * 商店商品sku表 服务类
 * </p>
 *
 * @author echo
 * @since 2024-03-20
 */
public interface IShopProductSkuService extends MPJBaseService<ShopProductSkuEntity> {


    MPJLambdaWrapper<ShopProductSkuEntity> getShopProductListQueryWrapper(Integer matchStatus,
                                                                          Integer searchType,
                                                                          String keyword,
                                                                          List<String> sysShopIds);

    void deleteShopProductSkus(String sysShopId, List<Long> productIds);

    List<ShopProductSkuEntity> getShopProductListBySysShopId( String sysShopId );

    ShopProductSkuEntity getShopProductBysku( String sysShopId, String sku );
}
